//
//  TuiHuoTableCollectionViewCell.m
//  Experss
//
//  Created by wmwMAC on 17/8/10.
//  Copyright © 2017年 嗯，大葱. All rights reserved.
//

#import "TuiHuoTableCollectionViewCell.h"

@implementation TuiHuoTableCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}

- (void)createSubviews{
    self.imgV = [[UIImageView alloc] initWithFrame:self.contentView.frame];
    [self addSubview:self.imgV];
    
//    _deletBtn = [BasePublicCreatUI createBtnFrame:CGRectMake(ContentWEITH-20, 0, 20, 20) title:nil bgImage:nil selectBgImage:nil image:@"shenqingtuihuo_jian" target:self action:@selector(deletCellImg:)];
////    _deletBtn.tag = indexPath.item+3000;
//    [self.contentView addSubview:_deletBtn];
//    
//    self.contentView.backgroundColor = [UIColor yellowColor];
}

-(void)deletCellImg:(UIButton *)sender{
    
    [self.delegate returnDeleteTuiHuoPictureImgTag:self.tag];
    
}

@end
